log/slog.handleState.groups (field)
17 uses
log/slog (current package)
handler.go#L276: stateGroups := state.groups
handler.go#L277: state.groups = nil // So ReplaceAttrs sees no groups instead of the pre groups.
handler.go#L315: state.groups = stateGroups // Restore groups passed to ReplaceAttrs.
handler.go#L387: groups *[]string // pool-allocated slice of active groups, for ReplaceAttr
handler.go#L404: s.groups = groupPool.Get().(*[]string)
handler.go#L405: *s.groups = append(*s.groups, h.groups[:h.nOpenGroups]...)
handler.go#L414: if gs := s.groups; gs != nil {
handler.go#L442: if s.groups != nil {
handler.go#L443: *s.groups = append(*s.groups, name)
handler.go#L455: if s.groups != nil {
handler.go#L456: *s.groups = (*s.groups)[:len(*s.groups)-1]
handler.go#L479: if s.groups != nil {
handler.go#L480: gs = *s.groups
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)